package com.dwx.guli.service.ucenter.service;

import com.dwx.guli.service.base.dto.MemberDto;
import com.dwx.guli.service.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dwx.guli.service.ucenter.entity.form.LoginForm;
import com.dwx.guli.service.ucenter.entity.form.RegisterForm;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author dwx
 * @since 2021-07-15
 */
public interface MemberService extends IService<Member> {
    void register(RegisterForm registerForm);
    String login(LoginForm loginForm);
    /**
     * 根据openid返回用户信息
     * @param openid
     * @return
     */
    Member getByOpenid(String openid);


    MemberDto getMemberDtoById(String memberId);


    Integer countRegisterNum(String day);
}
